/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package datosClient;

/**
 *
 * @author mimi
 */
public class CoordenadaPiezaClient extends Pieza
{
    String x;
    String y;

    public CoordenadaPiezaClient()
    {
        x=""; y="";
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public void agregarCoodenadas(String coordenada)//Pasa toda la coordenada sin ser separado
    {
        String [] arg = coordenada.split("-");
        this.x=(arg[0]);
        this.y=(arg[1]);    
    }


}
